<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="Content-Security-Policy" content="default-src * 'self' 'unsafe-inline' 'unsafe-eval' data: gap:">
  <meta http-equiv="Cache-control" content="no-cache">
  <meta http-equiv="Cache" content="no-cache">
  <meta name="viewport"
    content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, viewport-fit=cover">
  <meta name="keywords" content="开放平台,消防,智慧消防,铁路,云技术,硬件设备,大数据,物联网,视联网,ipc,智慧消防,">
  <meta name="description" content="智慧消防平台--通过大数据、云计算、物联网、地理信息等新一代信息技术，创新消防管理模式，实现智慧防控、智慧作战、智慧执法、智慧管理。国内智慧消防领跑者。">
  <meta name="Copyright" content="">
  <meta name="apple-mobile-web-app-capable" content="yes">
  <meta name="apple-mobile-web-app-status-bar-style" content="default">
  <meta name="format-detection" content="telephone=yes"> <!-- 格式检测 :telephone=no禁止了把数字转化为拨号链接-->
  <meta name="msapplication-tap-highlight" content="no"> <!-- 禁用链接高亮 -->
  <meta name="theme-color" content="#2196f3">
  <title>智慧消防</title>
  <link id="favicon" type="image/x-icon" rel="shortcut icon" href="./favicon.ico">

  <link rel="stylesheet" href="css/framework7.min.css">
  <link rel="stylesheet" href="js/plugins/org-plugin/style.css">
  <link rel="stylesheet" href="js/plugins/layer_mobile/need/layer.css">
  <!-- 字体图标 -->
  <link rel="stylesheet" href="icon/iconfont.css">
  <link rel="stylesheet" href="icon/iconfont4.0/iconfont.css">
  <!-- 自定义css -->
  <link rel="stylesheet" href="css/app.css?v=1611835727207">
  <link rel="stylesheet" href="css/rdsp.css?v=1611835727207">
  <link rel="stylesheet" href="css/link.css?v=1611835727207">
  <link rel="stylesheet" href="css/adapter.css?v=1611835727207">
  <link rel="stylesheet" href="css/fmap.css?v=1611835727207">
  <link rel="stylesheet" href="css/custom.css?v=1611835727207">
  <link rel="stylesheet" href="css/shareBb.css?v=1611835727207">
  <link rel="stylesheet" href="css/sw.css?v=1611835727207">
</head>

<body>
  <div id="app">
    <!--遮罩-->
    <div class="date-shade-content"></div>
    <!-- 登录 -->
    <div class="popup popup-tablet-fullscreen login-popup modal-in" style="position:relative">
      <div class="page login-bg" id="apendLoginBg" style="position:relative">
        <form id="login-form">
          <div class="list">
            <div>
              <li class="item-content item-input item-input-with-value" style="position:relative">
                <div class="item-inner">
                  <div class="item-input-wrap">
                    <!-- <i class="iconfont icon-yonghu"></i> -->
                    <input type="text" spellcheck="false" placeholder="输入帐号" name="accout" required validate
                      data-error-message="请输入帐号" autocomplete="off">
                    <span class="input-clear-button"></span>
                  </div>
                </div>
              </li>
              <li class="item-content item-input" style="position:relative">
                <div class="item-inner">
                  <div class="item-input-wrap">
                    <!-- <i class="iconfont icon-mima"></i> -->
                    <input type="password" id="login_psw" placeholder="输入密码" name="password" required validate
                      data-error-message="请输入密码" autocomplete="off">
                    <span class="input-clear-button rdsp-input-clear-button"></span>
                  </div>
                </div>
              </li>
            </div>
          </div>
        </form>
        <div class="list quit-btn-content" style="text-align: center;margin-top: 3%;">
          <ul>
            <li><a href="#" class="item-link list-button login-quit-btn" onclick="login.signIn()">登录</a></li>
          </ul>
          <a href="#" class="item-link list-button forget-quit-btn login-screen-open" data-login-screen=".login-screen"
            onclick="login.showForgetForm()" style="display: inline-block;">忘记密码?</a>
        </div>
      </div>
      <!-- 忘记密码 -->
      <div class="login-screen">
        <div class="page">
          <div class="link-page-nav">
            <a href="#" class="link" onclick="login.backToLogin()">
              <i class="iconfont icon-zuo"></i>
            </a>
          </div>
          <div class="link-page-top">
            <div class="link-page-title">忘记密码</div>
          </div>
          <div class="page-content">
            <form id="login-forget-form" onSubmit="return false">
              <div class="list inline-labels no-hairlines-md" style="margin: 0 ;">
                <ul>
                  <li class="item-content item-input">
                    <div class="item-inner">
                      <div class="item-title item-label">手机号：</div>
                      <div class="item-input-wrap input-p-forget">
                        <input class="input-forget" type="text" name="phone" placeholder="请输入手机号"
                          style="font-size: 13px" autocomplete="off">
                        <span class="input-clear-button" style="margin-right: 6px;"></span>
                      </div>
                    </div>
                  </li>
                  <li class="item-content item-input">
                    <div class="item-inner">
                      <div class="item-title item-label">验证码：</div>
                      <div class="item-input-wrap input-p-forget">
                        <input class="input-forget" type="text" name="code" autocomplete="off" placeholder="请输入验证码"
                          style="font-size: 13px">
                        <span class="input-clear-button"></span>
                      </div>
                      <button class="col button button-fill btn-vCode" onclick="login.getvCode()"
                        style="font-size: 12px">获取验证码</button>
                    </div>
                  </li>
                  <li class="item-content item-input">
                    <div class="item-inner">
                      <div class="item-title item-label">新密码：</div>
                      <div class="item-input-wrap input-p-forget">
                        <input class="input-forget" type="password" name="pw1" placeholder="请输入新密码" autocomplete="off"
                          style="font-size: 13px">
                        <span class="input-clear-button"></span>
                      </div>
                    </div>
                  </li>
                  <li class="item-content item-input">
                    <div class="item-inner">
                      <div class="item-title item-label">确认密码：</div>
                      <div class="item-input-wrap input-p-forget">
                        <input class="input-forget" type="password" name="pw2" placeholder="请确认密码" autocomplete="off"
                          style="font-size: 13px">
                        <span class="input-clear-button"></span>
                      </div>
                    </div>
                  </li>
                </ul>
                <div class="block">
                  <a href="#" class="button button-raised button-big button-fill btn-mPw"
                    onclick="login.saveNewPw()">修改</a>
                </div>
              </div>
            </form>
          </div>
        </div>
      </div>
    </div>
    <!-- 筛选框容器 -->
    <div class="popover-container-rdsp"></div>
    <!-- content -->
    <div class="view view-init view-main ilink-view-main">
      <div class="piker-bg"></div>
      <!-- 头部导航 -->
      <!-- <div class="navbar index-navbar" id="home-navbar" style="z-index: 1;background: none;background-color:#fff;"></div> -->
      <div class="page">
        <div class="toolbar tabbar tabbar-labels toolbar-bottom-md" id="bottom_nav" style="height: 48px;z-index: 9999;bottom:-1px !important;     padding-bottom: constant(safe-area-inset-bottom);
                padding-bottom: env(safe-area-inset-bottom);">
          <div class="toolbar-inner" id="navPaegeCont">
            <a href="#home" class="tab-link tab-link-active" onclick="onTabClick('home')">
              <i class="iconfont home app-icon-size icon-APP_shouye-kuai"></i>
              <span>首页</span>
            </a>
            <a href="#monitor" class="tab-link" onclick="onTabClick('monitor')">
              <i class="iconfont monitor app-icon-size  icon-APP_shipin-xian"></i>
              <span>监控</span>
            </a>
            <a href="#apply" class="tab-link" onclick="onTabClick('apply')">
              <i class="iconfont apply app-icon-size  icon-APP_gongzuo-xian"></i>
              <span>工作</span>
            </a>
            <a href="#message" id="messageTab" class="tab-link" onclick="onTabClick('message')">
              <i class="iconfont message app-icon-size  icon-APP_xiaoxi-xian" style="margin-top: 0;"></i>
              <span>消息</span>
              <div id="redpoint_tab_msg" class="msg-badge color-red"></div>
            </a>
            <a href="#mine" class="tab-link" onclick="onTabClick('mine')">
              <i class="iconfont mine app-icon-size icon-APP_wo-xian"></i>
              <span>个人</span>
            </a>
          </div>
        </div>
        <div class="page-content" id="rdsp_page_scroll">
          <div id="index_tab" class="tabs">
            <div id="home" class="tab index-tab tab-active">

            </div>
            <div id="monitor" class="tab index-tab">

            </div>
            <div id="apply" class="tab index-tab">

            </div>
            <div id="message" class="tab index-tab">

            </div>
            <div id="mine" class="tab index-tab">

            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <!-- 配置文件 -->
  <script src="config.js"></script>
  <!-- <script src="/ilink-fe-config/zhxf-app/config.js"></script> -->
  <!-- 组件 -->
  <script src="js/plugins/framework_ilink.js"></script>
  <script src="js/plugins/jquery-3.6.1.min.js"></script>
  <script src="js/plugins/layer_mobile/layer.js"></script>
  <script src="js/plugins/qiniu/plupload.full.min.js"></script>
  <script src="js/plugins/qiniu/qiniu.min.js"></script>
  <script src="js/plugins/pinchzoom.js"></script>
  <script src="js/plugins/echarts.min.js"></script>
  <script src="js/plugins/echarts-gl.min.js"></script>
  <script src="js/plugins/jquery.md5.js"></script>
  <script src="js/plugins/org-plugin/jquery.charfirst.pinyin.js"></script>
  <script src="js/plugins/org-plugin/sort.js"></script>
  <script src="js/plugins/moment.js"></script>
  <script src="js/plugins/date/jquery.date.js"></script>
  <script src="js/plugins/jqueryqr.js"></script>
  <script src="js/plugins/create_qrcode.js"></script>
  <script src="icon/iconfont4.0/iconfont.js"></script>
  <script src="js/common/inputmail.js"></script>
  <!--室内地图  -->
  <script src="fmap/loadFengmap.js"></script>
  <script src="fmap/map.js"></script>
  <script src="//api.map.baidu.com/api?v=3.0&ak=6dKoi5fFnOdYO1DnrZhytcwhPCUizujh&services=&t=1611835727207"></script>
  <!-- 模块js -->
  <script src="js/common/common.js?v=1611835727207"></script>
  <script src="js/common/native.js?v=1611835727207"></script>
  <script src="js/routes.js?v=1611835727207"></script>
  <script src="js/login.js?v=1611835727207"></script>
  <script src="js/app.js?v=1611835727207"></script>
  <script src="js/index.js?v=1611835727207"></script>
  <script src="js/common/Dao.js?v=1611835727207"></script>
  <script src="js/common/custom.js?v=1611835727207"></script>
  <script src="js/common/popup.js?v=1611835727207"></script>
  <script src="js/common/messagePush.js?v=1611835727207"></script>
  <script src="js/common/voice.js?v=1611835727207"></script>
  <script src="js/qrcode.min.js?v=1611835727207"></script>

  <!-- <script src="https://cdn.bootcss.com/vConsole/3.3.4/vconsole.min.js"></script> -->
  <!-- 分平台入口 -->
  <script type="text/javascript">
    if (typeof VConsole != 'undefined') {
      var vConsole = new VConsole();
    }
    if (native.getDataByKey("IS_OFFLINE_MODULE") == 1) {
      $('.login-popup').hide()
    }
    //远程静态资源服务器路径
    var platformCode = GetQueryString('loginId') || PLATCOEDEFAULT;
    //切换分平台logo和title
    jQuery('#favicon').attr({
      'href': REMOTESTATICPATH + platformCode + "/favicon/favicon.ico",
    });
    common.checkImgExists(REMOTESTATICPATH + platformCode + "/h5/login/bg.png", function () {
      jQuery('#apendLoginBg').css({
        "background": "url(" + (REMOTESTATICPATH + platformCode + "/h5/login/bg.png") + ") no-repeat",
        "background-size": "100% 100%",
        "height": "100vh"
      });
    }, function () {
      jQuery('#apendLoginBg').css({
        "background": "url(" + (REMOTESTATICPATH + platformCode + "/h5/login/bg.png") + ") no-repeat",
        "background-size": "100% 100%",
        "height": "100vh"
      });
    })
    // 禁止百度地图alert弹窗
    window.alert = function (str) {
      console.error(str)
    }
    // 重新加载页面和css文件
    function reloadPage() {
      var links = document.getElementsByTagName('link')
      for (var i = 0; i < links.length; i++) {
        if (links[i].rel === 'stylesheet') {
          if (links[i].href.indexOf('?') > -1) {
            links[i].href = links[i].href.split('?')[0] + '?_=' + new Date().getTime()
          } else {
            links[i].href = links[i].href + '?_=' + new Date().getTime()
          }
        }
      }
      app.view.current.router.refreshPage()
    }
    //刷新tab
    function reloadTab(index) {
      var theView = app.view.filter(n => {
        return n.selector == '#' + ['home', 'monitor', 'apply', 'message', 'mine'][index || 0]
      })[0]
      theView.router.refreshPage()
      reloadPage()
    }
  </script>
</body>

</html>